# @Time    :2025/3/24 18:54
"""
1）给定一个列表 numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]，编写一个程序，将列表中所有的偶数元素删除

"""
from os import remove

numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
for i in numbers[:]:
    if i % 2 == 0:
        numbers.remove(i)
print(numbers)
